var fs = require('fs');
var zlib = require('zlib');
// 解压文件

fs.createReadStream('./input.txt.gz')
.pipe(zlib.createGunzip())
.pipe(fs.createWriteStream('input.txt'));
console.log('文件解压成功！');

